package org.kite.processor;

import org.kite.MatchResult;

import java.util.List;

public abstract class ProcessorBase {

	public abstract MatchResult match(String line);

	public abstract String process(List<String> lines) throws Exception;

	public ProcessorBase nextProcessor;

	public ProcessorBase getNextProcessor() {
		return nextProcessor;
	}

	public void setNextProcessor(ProcessorBase nextProcessor) {
		this.nextProcessor = nextProcessor;
	}


}
